package com.flainsky.nirvanaplayer.globe;

import java.util.ArrayList;
import java.util.List;

import android.content.Context;

import com.flainsky.nirvanaplayer.lib.objects.Movie;

public class DataCollection {
	private List<Movie> hotList;		//获取评价最好列表 comment 8
	private List<Movie> livePopularList;
	private List<Movie> moviePopularList;
	private List<Movie> tvPopularList;
	private List<Movie> showPopularList;
	private List<Movie> newsPopularList;
	
	private List<Movie> todayList;		//获取最新列表	 upload	  10
	private List<Movie> rankingList;	//获取播放次数排序列表	play_times	10
	
	private List<Movie> todayLiveList;
	private List<Movie> todayTvList;
	private List<Movie> todayShowList;
	private List<Movie> todayNewsList;
	
	private List<Movie> liveList;
	private List<Movie> showList;
	private List<Movie> tvList;
	private List<Movie> newsList;
	
	private List<Movie> sortList;

	private List<String> yearList;
	private List<String> areaList;
	private List<String> categoryList;
	
	private List<String> yearTvList;
	private List<String> areaTvList;
	private List<String> categoryTvList;
	
	private List<String> yearShowList;
	private List<String> areaShowList;
	private List<String> categoryShowList;
	
	private List<String> yearNewsList;
	private List<String> areaNewsList;
	private List<String> categoryNewsList;
	
	private static Context mContext;
	private static DataCollection instance;
	
	public static DataCollection getInstance() {
		if(instance!=null){
			return instance;
		}
		else{
			makeInstance(mContext);
			return instance;
		}
	}
	
	public static synchronized void makeInstance(Context context){
		mContext = context;
		if(instance==null){
			instance=new DataCollection();
		}
	}
	
	private DataCollection()
	{
		hotList = new ArrayList<Movie>();
	    todayList = new ArrayList<Movie>();		//获取最新列表
		rankingList = new ArrayList<Movie>();	//获取播放次数排序列表
		
		todayLiveList = new ArrayList<Movie>();
		todayTvList = new ArrayList<Movie>();
		todayShowList = new ArrayList<Movie>();
		todayNewsList = new ArrayList<Movie>();
		
		liveList = new ArrayList<Movie>();
		showList = new ArrayList<Movie>();
		tvList = new ArrayList<Movie>();
		newsList = new ArrayList<Movie>();
		
		sortList = new ArrayList<Movie>();

		yearList = new ArrayList<String>();
		areaList = new ArrayList<String>();
		categoryList = new ArrayList<String>();
		
		yearTvList = new ArrayList<String>();
		areaTvList = new ArrayList<String>();
		categoryTvList = new ArrayList<String>();
		
		yearShowList = new ArrayList<String>();
		areaShowList = new ArrayList<String>();
		categoryShowList = new ArrayList<String>();
		
		yearNewsList = new ArrayList<String>();
		areaNewsList = new ArrayList<String>();
		categoryNewsList = new ArrayList<String>();
	}
	
	public List<Movie> getHotList() {
		return hotList;
	}

	public void setHotList(List<Movie> hotList) {
		if(hotList == null)return;
		this.hotList = hotList;
	}

	public List<Movie> getTodayList() {
		return todayList;
	}

	public void setTodayList(List<Movie> todayList) {
		if(todayList == null)return;
		this.todayList = todayList;
	}

	public List<Movie> getRankingList() {
		return rankingList;
	}

	public void setRankingList(List<Movie> rankingList) {
		if(rankingList == null)return;
		this.rankingList = rankingList;
	}

	public List<Movie> getLiveList() {
		return liveList;
	}

	public void setLiveList(List<Movie> liveList) {
		if(liveList == null)return;
		this.liveList = liveList;
	}

	public List<String> getYearList() {
		return yearList;
	}

	public void setYearList(List<String> yearList) {
		if(yearList == null)return;
		this.yearList = yearList;
	}

	public List<String> getAreaList() {
		return areaList;
	}

	public void setAreaList(List<String> areaList) {
		if(areaList == null)return;
		this.areaList = areaList;
	}

	public List<String> getCategoryList() {
		return categoryList;
	}

	public void setCategoryList(List<String> categoryList) {
		if(categoryList == null)return;
		this.categoryList = categoryList;
	}

	public List<Movie> getShowList() {
		return showList;
	}

	public void setShowList(List<Movie> showList) {
		this.showList = showList;
	}

	public List<Movie> getTvList() {
		return tvList;
	}

	public void setTvList(List<Movie> tvList) {
		this.tvList = tvList;
	}

	public List<Movie> getNewsList() {
		return newsList;
	}

	public void setNewsList(List<Movie> newsList) {
		this.newsList = newsList;
	}

	public List<Movie> getSortList() {
		return sortList;
	}

	public void setSortList(List<Movie> sortList) {
		this.sortList = sortList;
	}

	public List<String> getYearTvList() {
		return yearTvList;
	}

	public void setYearTvList(List<String> yearTvList) {
		this.yearTvList = yearTvList;
	}

	public List<String> getAreaTvList() {
		return areaTvList;
	}

	public void setAreaTvList(List<String> areaTvList) {
		this.areaTvList = areaTvList;
	}

	public List<String> getCategoryTvList() {
		return categoryTvList;
	}

	public void setCategoryTvList(List<String> cateegoryTvList) {
		this.categoryTvList = cateegoryTvList;
	}

	public List<String> getYearShowList() {
		return yearShowList;
	}

	public void setYearShowList(List<String> yearShowList) {
		this.yearShowList = yearShowList;
	}

	public List<String> getAreaShowList() {
		return areaShowList;
	}

	public void setAreaShowList(List<String> areaShowList) {
		this.areaShowList = areaShowList;
	}

	public List<String> getCategoryShowList() {
		return categoryShowList;
	}

	public void setCategoryShowList(List<String> categoryShowList) {
		this.categoryShowList = categoryShowList;
	}

	public List<String> getYearNewsList() {
		return yearNewsList;
	}

	public void setYearNewsList(List<String> yearNewsList) {
		this.yearNewsList = yearNewsList;
	}

	public List<String> getAreaNewsList() {
		return areaNewsList;
	}

	public void setAreaNewsList(List<String> areaNewsList) {
		this.areaNewsList = areaNewsList;
	}

	public List<String> getCategoryNewsList() {
		return categoryNewsList;
	}

	public void setCategoryNewsList(List<String> categoryNewsList) {
		this.categoryNewsList = categoryNewsList;
	}

	public List<Movie> getTodayLiveList() {
		return todayLiveList;
	}

	public void setTodayLiveList(List<Movie> todayLiveList) {
		this.todayLiveList = todayLiveList;
	}

	public List<Movie> getTodayTvList() {
		return todayTvList;
	}

	public void setTodayTvList(List<Movie> todayTvList) {
		this.todayTvList = todayTvList;
	}

	public List<Movie> getTodayShowList() {
		return todayShowList;
	}

	public void setTodayShowList(List<Movie> todayShowList) {
		this.todayShowList = todayShowList;
	}

	public List<Movie> getTodayNewsList() {
		return todayNewsList;
	}

	public void setTodayNewsList(List<Movie> todayNewsList) {
		this.todayNewsList = todayNewsList;
	}

	public List<Movie> getLivePopularList() {
		return livePopularList;
	}

	public void setLivePopularList(List<Movie> livePopularList) {
		this.livePopularList = livePopularList;
	}

	public List<Movie> getMoviePopularList() {
		return moviePopularList;
	}

	public void setMoviePopularList(List<Movie> moviePopularList) {
		this.moviePopularList = moviePopularList;
	}

	public List<Movie> getTvPopularList() {
		return tvPopularList;
	}

	public void setTvPopularList(List<Movie> tvPopularList) {
		this.tvPopularList = tvPopularList;
	}

	public List<Movie> getShowPopularList() {
		return showPopularList;
	}

	public void setShowPopularList(List<Movie> showPopularList) {
		this.showPopularList = showPopularList;
	}

	public List<Movie> getNewsPopularList() {
		return newsPopularList;
	}

	public void setNewsPopularList(List<Movie> newsPopularList) {
		this.newsPopularList = newsPopularList;
	}
	
	
}
